package com.zjq.smartdevice.service;

import com.github.pagehelper.PageInfo;
import com.zjq.smartdevice.pojo.SysDevice;

/**
 * @User zhangjiaqi
 * @Project project
 * @Package com.zjq.smartdevice.service
 * @Date 2022/3/23 20:44
 */
public interface SysDeviceService {

    void addSysDevice(SysDevice sysDevice);

    SysDevice findById(String deviceId);

    int updateDeviceById(SysDevice sysDevice);

    PageInfo<SysDevice> findByPage(int page, int limit, SysDevice sysDevice);

    void sendControl(String devideId, String command);
}
